package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 待办事项对象 p_wait_matters
 *
 * @author ruoyi
 * @date 2022-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("p_wait_matters")
public class PWaitMatters extends BaseEntity {

    private static final long serialVersionUID=1L;

    @TableId(value = "id")
    private Long id;
    /**
     * 咨询订单id
     */
    @ApiModelProperty(value = "咨询订单id")
    private Long orderId;
    /**
     * 代办类型 0 问答代办 1 文字代办 2 电话代办
     */
    @ApiModelProperty(value = "代办类型 0 问答代办 1 文字代办 2 电话代办")
    private String waitType;
    /**
     * 问题id
     */
    private Long questId;
    /**
     * 预约时间
     */
    @ApiModelProperty(value = "预约时间")
    private Date appointTime;
    /**
     * 咨询师id
     */
    @ApiModelProperty(value = "咨询师id")
    private Long adviserId;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;
    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;

    @ApiModelProperty("代办标题")
    private String title;

    @ApiModelProperty("代办代办消息")
    private String msg;

    @ApiModelProperty("回复消息")
    private String toMsg;

    @ApiModelProperty("是否阅读 0 否 1是")
    private String type;
}
